#ifndef MYWIDGET_H
#define MYWIDGET_H

#include <QWidget>
#include <QMessageBox>
#include "instrument.h"

namespace Ui {
class myWidget;
}

class myWidget : public QWidget
{
    Q_OBJECT

public:
    explicit myWidget(QWidget *parent = 0);
    ~myWidget();
    void Init_widget();
    void set_instrument(const instrument::Instrument_type &instrument_type,int count,int x,int y, int sizex, int sizey);



private slots:
    void on_Identify_btn_pressed();
    void on_clear_config_btn_pressed();

private:
    Ui::myWidget *ui;
    instrument *inst;
    int pos_x=5,pos_y=5;
    int size_x=70;
    int size_y=97;
    instrument w;

};

#endif // MYWIDGET_H
